package com.pen.shardingjdbc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode
@ToString
public class Course {
    //必须加，selectById中会没有id
    @TableId
    private Long cid;
    private String cname;
    private Long userId;
    private String cstatus;

}
